<html>
<head>
<title>Package smt2 Element Index</title>
<link rel="stylesheet" type="text/css" href="media/style.css">
</head>
<body>

<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
  <tr>
    <td class="header_top">smt2</td>
  </tr>
  <tr><td class="header_line"><img src="media/empty.png" width="1" height="1" border="0" alt=""  /></td></tr>
  <tr>
    <td class="header_menu">
        
                                                        
                                                  		  [ <a href="classtrees_smt2.html" class="menu">class tree: smt2</a> ]
		  [ <a href="elementindex_smt2.html" class="menu">index: smt2</a> ]
		  	    [ <a href="elementindex.html" class="menu">all elements</a> ]
    </td>
  </tr>
  <tr><td class="header_line"><img src="media/empty.png" width="1" height="1" border="0" alt=""  /></td></tr>
</table>

<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="200" class="menu">
      <b>Packages:</b><br />
              <a href="li_PegasusPHP.html">PegasusPHP</a><br />
              <a href="li_smt2.html">smt2</a><br />
              <a href="li_PHPMailer.html">PHPMailer</a><br />
            <br /><br />
                        <b>Files:</b><br />
      	  <div class="package">
			<a href="smt2/_class.cluster.php.html">		class.cluster.php
		</a><br>
			<a href="smt2/_class.domutil.php.html">		class.domutil.php
		</a><br>
			<a href="smt2/_class.kmeans.php.html">		class.kmeans.php
		</a><br>
			<a href="smt2/_class.point.php.html">		class.point.php
		</a><br>
			<a href="smt2/_class.prettydate.php.html">		class.prettydate.php
		</a><br>
			<a href="smt2/_define.php.html">		define.php
		</a><br>
			<a href="smt2/_functions.array.php.html">		functions.array.php
		</a><br>
			<a href="smt2/_functions.db.php.html">		functions.db.php
		</a><br>
			<a href="smt2/_functions.php.html">		functions.php
		</a><br>
			<a href="smt2/_functions.url.php.html">		functions.url.php
		</a><br>
			<a href="smt2/_messages.php.html">		messages.php
		</a><br>
	  </div><br />
      
      
            <b>Classes:</b><br />
        <div class="package">
		    		<a href="smt2/Cluster.html">Cluster</a><br />
	    		<a href="smt2/DOMUtil.html">DOMUtil</a><br />
	    		<a href="smt2/KMeans.html">KMeans</a><br />
	    		<a href="smt2/Point.html">Point</a><br />
	    		<a href="smt2/prettyDate.html">prettyDate</a><br />
	  </div>
                </td>
    <td>
      <table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">

<a name="top"></a>
<h1>Element index for package smt2</h1>
	[ <a href="elementindex_smt2.html#a">a</a> ]
	[ <a href="elementindex_smt2.html#c">c</a> ]
	[ <a href="elementindex_smt2.html#d">d</a> ]
	[ <a href="elementindex_smt2.html#e">e</a> ]
	[ <a href="elementindex_smt2.html#f">f</a> ]
	[ <a href="elementindex_smt2.html#g">g</a> ]
	[ <a href="elementindex_smt2.html#i">i</a> ]
	[ <a href="elementindex_smt2.html#j">j</a> ]
	[ <a href="elementindex_smt2.html#k">k</a> ]
	[ <a href="elementindex_smt2.html#m">m</a> ]
	[ <a href="elementindex_smt2.html#n">n</a> ]
	[ <a href="elementindex_smt2.html#p">p</a> ]
	[ <a href="elementindex_smt2.html#r">r</a> ]
	[ <a href="elementindex_smt2.html#s">s</a> ]
	[ <a href="elementindex_smt2.html#t">t</a> ]
	[ <a href="elementindex_smt2.html#u">u</a> ]
	[ <a href="elementindex_smt2.html#v">v</a> ]
	[ <a href="elementindex_smt2.html#w">w</a> ]
	[ <a href="elementindex_smt2.html#x">x</a> ]
	[ <a href="elementindex_smt2.html#y">y</a> ]
	[ <a href="elementindex_smt2.html#_">_</a> ]

  <hr />
	<a name="_"></a>
	<div>
		<h2>_</h2>
		<dl>
							<dt><b>$_displayType</b></dt>
				<dd>in file messages.php, global variable <a href="smt2/_messages.php.html#global$_displayType">$_displayType</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Types of CMS notifications.</dd>
							<dt><b>$_headAdded</b></dt>
				<dd>in file functions.php, global variable <a href="smt2/_functions.php.html#global$_headAdded">$_headAdded</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Additional head tags. Enable inserting custom tags on page head.</dd>
							<dt><b>$_loginMsg</b></dt>
				<dd>in file messages.php, global variable <a href="smt2/_messages.php.html#global$_loginMsg">$_loginMsg</a><br>&nbsp;&nbsp;&nbsp;&nbsp;CMS error messages while logging in.</dd>
							<dt><b>$_notifyMsg</b></dt>
				<dd>in file messages.php, global variable <a href="smt2/_messages.php.html#global$_notifyMsg">$_notifyMsg</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Types of CMS text messages.</dd>
							<dt><b>__construct</b></dt>
				<dd>in file class.kmeans.php, method <a href="smt2/KMeans.html#method__construct">KMeans::__construct()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Constructor.</dd>
							<dt><b>__construct</b></dt>
				<dd>in file class.cluster.php, method <a href="smt2/Cluster.html#method__construct">Cluster::__construct()</a></dd>
							<dt><b>__construct</b></dt>
				<dd>in file class.point.php, method <a href="smt2/Point.html#method__construct">Point::__construct()</a></dd>
					</dl>
	</div>
	<a href="elementindex_smt2.html#top">top</a><br>
  <hr />
	<a name="a"></a>
	<div>
		<h2>a</h2>
		<dl>
							<dt><b>$avgPoint</b></dt>
				<dd>in file class.cluster.php, variable <a href="smt2/Cluster.html#var$avgPoint">Cluster::$avgPoint</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Cluster center (mean)</dd>
							<dt><b>add_head</b></dt>
				<dd>in file functions.php, function <a href="smt2/_functions.php.html#functionadd_head">add_head()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Adds $element tags to all CMS extensions header.</dd>
							<dt><b>ADMIN_PATH</b></dt>
				<dd>in file define.php, constant <a href="smt2/_define.php.html#defineADMIN_PATH">ADMIN_PATH</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Path to admin dir. This absolute URL is used to resolve links, redirections, an so on.</dd>
							<dt><b>array_argmax</b></dt>
				<dd>in file functions.array.php, function <a href="smt2/_functions.array.php.html#functionarray_argmax">array_argmax()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Gets the array index that has the maximum value.</dd>
							<dt><b>array_argmin</b></dt>
				<dd>in file functions.array.php, function <a href="smt2/_functions.array.php.html#functionarray_argmin">array_argmin()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Gets the array index that has the minimum value.</dd>
							<dt><b>array_avg</b></dt>
				<dd>in file functions.array.php, function <a href="smt2/_functions.array.php.html#functionarray_avg">array_avg()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Computes the average sum of a numeric array.</dd>
							<dt><b>array_avg_weighted</b></dt>
				<dd>in file functions.array.php, function <a href="smt2/_functions.array.php.html#functionarray_avg_weighted">array_avg_weighted()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Does a weighted sum for a given multidimensional numeric array and computed weights.</dd>
							<dt><b>array_flatten</b></dt>
				<dd>in file functions.array.php, function <a href="smt2/_functions.array.php.html#functionarray_flatten">array_flatten()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;De-nests nested arrays within the given array.</dd>
							<dt><b>array_frequency</b></dt>
				<dd>in file functions.array.php, function <a href="smt2/_functions.array.php.html#functionarray_frequency">array_frequency()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Computes the frequency of each $input array member.</dd>
							<dt><b>array_null</b></dt>
				<dd>in file functions.array.php, function <a href="smt2/_functions.array.php.html#functionarray_null">array_null()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Convert null values to empty strings. Used to generate valid JSON arrays.</dd>
							<dt><b>array_sanitize</b></dt>
				<dd>in file functions.array.php, function <a href="smt2/_functions.array.php.html#functionarray_sanitize">array_sanitize()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Removes empty items (both key and value) from an associative numeric array.</dd>
							<dt><b>array_sd</b></dt>
				<dd>in file functions.array.php, function <a href="smt2/_functions.array.php.html#functionarray_sd">array_sd()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Computes the variance of a numeric array.</dd>
					</dl>
	</div>
	<a href="elementindex_smt2.html#top">top</a><br>
  <hr />
	<a name="c"></a>
	<div>
		<h2>c</h2>
		<dl>
							<dt><b>$clusters</b></dt>
				<dd>in file class.kmeans.php, variable <a href="smt2/KMeans.html#var$clusters">KMeans::$clusters</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Groups of clusters.</dd>
							<dt><b>CACHE_DIR</b></dt>
				<dd>in file define.php, constant <a href="smt2/_define.php.html#defineCACHE_DIR">CACHE_DIR</a><br>&nbsp;&nbsp;&nbsp;&nbsp;HTML logs dir. Do not use absolute URLs because fopen wrappers could be disabled.</dd>
							<dt><b>calculateAverage</b></dt>
				<dd>in file class.cluster.php, method <a href="smt2/Cluster.html#methodcalculateAverage">Cluster::calculateAverage()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Computes the cluster center (mean)</dd>
							<dt><b>calculateMedian</b></dt>
				<dd>in file class.cluster.php, method <a href="smt2/Cluster.html#methodcalculateMedian">Cluster::calculateMedian()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Computes the cluster median</dd>
							<dt><b>calculateVariance</b></dt>
				<dd>in file class.cluster.php, method <a href="smt2/Cluster.html#methodcalculateVariance">Cluster::calculateVariance()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Computes the cluster variance, defined as the second sample central moment.</dd>
							<dt><b>check_noscript</b></dt>
				<dd>in file functions.php, function <a href="smt2/_functions.php.html#functioncheck_noscript">check_noscript()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Displays a &lt;noscript&gt; warning message. Useful for those extensions that require JavaScript functionality.</dd>
							<dt><b>check_notified_request</b></dt>
				<dd>in file functions.php, function <a href="smt2/_functions.php.html#functioncheck_notified_request">check_notified_request()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Displays the message saved on current PHP session. Then the $_SESSION text is unset.</dd>
							<dt><b>check_smt_releases</b></dt>
				<dd>in file functions.php, function <a href="smt2/_functions.php.html#functioncheck_smt_releases">check_smt_releases()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Displays a message about the installed smt2 version.</dd>
							<dt><b>check_systemversion</b></dt>
				<dd>in file functions.php, function <a href="smt2/_functions.php.html#functioncheck_systemversion">check_systemversion()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Checks if server is ready to work with smt2 by comparing the server's $type version.</dd>
							<dt><b>class.cluster.php</b></dt>
				<dd>procedural page <a href="smt2/_class.cluster.php.html">class.cluster.php</a></dd>
							<dt><b>class.domutil.php</b></dt>
				<dd>procedural page <a href="smt2/_class.domutil.php.html">class.domutil.php</a></dd>
							<dt><b>class.kmeans.php</b></dt>
				<dd>procedural page <a href="smt2/_class.kmeans.php.html">class.kmeans.php</a></dd>
							<dt><b>class.point.php</b></dt>
				<dd>procedural page <a href="smt2/_class.point.php.html">class.point.php</a></dd>
							<dt><b>class.prettydate.php</b></dt>
				<dd>procedural page <a href="smt2/_class.prettydate.php.html">class.prettydate.php</a></dd>
							<dt><b>Cluster</b></dt>
				<dd>in file class.cluster.php, class <a href="smt2/Cluster.html">Cluster</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Defines a Cluster.</dd>
							<dt><b>CMS_CHOICE</b></dt>
				<dd>in file define.php, constant <a href="smt2/_define.php.html#defineCMS_CHOICE">CMS_CHOICE</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Form input type: User must choose between 2 options (checkbox)</dd>
							<dt><b>CMS_MULTIPLE</b></dt>
				<dd>in file define.php, constant <a href="smt2/_define.php.html#defineCMS_MULTIPLE">CMS_MULTIPLE</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Form input type: User must choose between 3 or more options (radio button)</dd>
							<dt><b>CMS_TITLE</b></dt>
				<dd>in file define.php, constant <a href="smt2/_define.php.html#defineCMS_TITLE">CMS_TITLE</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Title for CMS pages.</dd>
							<dt><b>CMS_TYPE</b></dt>
				<dd>in file define.php, constant <a href="smt2/_define.php.html#defineCMS_TYPE">CMS_TYPE</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Form input type: User must enter some value (input text)</dd>
							<dt><b>convert_points</b></dt>
				<dd>in file functions.php, function <a href="smt2/_functions.php.html#functionconvert_points">convert_points()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Merges vertical and horizontal coordinates in a bidimensional point array.</dd>
							<dt><b>count_clicks</b></dt>
				<dd>in file functions.php, function <a href="smt2/_functions.php.html#functioncount_clicks">count_clicks()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Counts the number of mouse clicks.</dd>
							<dt><b>count_dir_files</b></dt>
				<dd>in file functions.php, function <a href="smt2/_functions.php.html#functioncount_dir_files">count_dir_files()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Count files in a dir. This function skip directories, and it is not recursive.</dd>
							<dt><b>createDiv</b></dt>
				<dd>in file class.domutil.php, method <a href="smt2/DOMUtil.html#methodcreateDiv">DOMUtil::createDiv()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Creates a DIV element.</dd>
							<dt><b>createExternalScript</b></dt>
				<dd>in file class.domutil.php, method <a href="smt2/DOMUtil.html#methodcreateExternalScript">DOMUtil::createExternalScript()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Creates an external script element.</dd>
							<dt><b>createExternalStyleSheet</b></dt>
				<dd>in file class.domutil.php, method <a href="smt2/DOMUtil.html#methodcreateExternalStyleSheet">DOMUtil::createExternalStyleSheet()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Creates an external stylesheet element.</dd>
							<dt><b>createInlineScript</b></dt>
				<dd>in file class.domutil.php, method <a href="smt2/DOMUtil.html#methodcreateInlineScript">DOMUtil::createInlineScript()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Creates an inline script element.</dd>
							<dt><b>createInlineStyleSheet</b></dt>
				<dd>in file class.domutil.php, method <a href="smt2/DOMUtil.html#methodcreateInlineStyleSheet">DOMUtil::createInlineStyleSheet()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Creates an inline stylesheet element.</dd>
							<dt><b>CSS_PATH</b></dt>
				<dd>in file define.php, constant <a href="smt2/_define.php.html#defineCSS_PATH">CSS_PATH</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Path to CSS styles.</dd>
					</dl>
	</div>
	<a href="elementindex_smt2.html#top">top</a><br>
  <hr />
	<a name="d"></a>
	<div>
		<h2>d</h2>
		<dl>
							<dt><b>db_check</b></dt>
				<dd>in file functions.db.php, function <a href="smt2/_functions.db.php.html#functiondb_check">db_check()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Checks that both database connection and tables are OK.</dd>
							<dt><b>db_connect</b></dt>
				<dd>in file functions.db.php, function <a href="smt2/_functions.db.php.html#functiondb_connect">db_connect()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Opens or reuses a connection against the database server.</dd>
							<dt><b>db_delete</b></dt>
				<dd>in file functions.db.php, function <a href="smt2/_functions.db.php.html#functiondb_delete">db_delete()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Deletes a row from table.</dd>
							<dt><b>db_insert</b></dt>
				<dd>in file functions.db.php, function <a href="smt2/_functions.db.php.html#functiondb_insert">db_insert()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Inserts a new row on table.</dd>
							<dt><b>db_option</b></dt>
				<dd>in file functions.db.php, function <a href="smt2/_functions.db.php.html#functiondb_option">db_option()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Selects one (and only one) row from an &quot;options&quot; table (CMS or JSOPT).</dd>
							<dt><b>db_query</b></dt>
				<dd>in file functions.db.php, function <a href="smt2/_functions.db.php.html#functiondb_query">db_query()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Performs a generic query to database.</dd>
							<dt><b>db_records</b></dt>
				<dd>in file functions.db.php, function <a href="smt2/_functions.db.php.html#functiondb_records">db_records()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Shortcut for getting the total number of (smt) records in database, or alternatively the column names.</dd>
							<dt><b>db_select</b></dt>
				<dd>in file functions.db.php, function <a href="smt2/_functions.db.php.html#functiondb_select">db_select()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Gets column(s) value(s) of a single row from a table.</dd>
							<dt><b>db_select_all</b></dt>
				<dd>in file functions.db.php, function <a href="smt2/_functions.db.php.html#functiondb_select_all">db_select_all()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Selects ALL rows and columns from table that match the given condition.</dd>
							<dt><b>db_update</b></dt>
				<dd>in file functions.db.php, function <a href="smt2/_functions.db.php.html#functiondb_update">db_update()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Updates a row on table.</dd>
							<dt><b>define.php</b></dt>
				<dd>procedural page <a href="smt2/_define.php.html">define.php</a></dd>
							<dt><b>die_msg</b></dt>
				<dd>in file functions.php, function <a href="smt2/_functions.php.html#functiondie_msg">die_msg()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Stops executing a PHP script, displaying a reason for the error.</dd>
							<dt><b>display_text</b></dt>
				<dd>in file functions.php, function <a href="smt2/_functions.php.html#functiondisplay_text">display_text()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Displays a text paragraph on page.</dd>
							<dt><b>distributeOverClusters</b></dt>
				<dd>in file class.kmeans.php, method <a href="smt2/KMeans.html#methoddistributeOverClusters">KMeans::distributeOverClusters()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Computes K-means clustering for a given 2D array of mouse points.</dd>
							<dt><b>DOMUtil</b></dt>
				<dd>in file class.domutil.php, class <a href="smt2/DOMUtil.html">DOMUtil</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Extended DOM utilities.</dd>
					</dl>
	</div>
	<a href="elementindex_smt2.html#top">top</a><br>
  <hr />
	<a name="e"></a>
	<div>
		<h2>e</h2>
		<dl>
							<dt><b>email_exists</b></dt>
				<dd>in file functions.php, function <a href="smt2/_functions.php.html#functionemail_exists">email_exists()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Searches DNS for MX records corresponding to user's email account hostname.</dd>
							<dt><b>error_webpage</b></dt>
				<dd>in file functions.php, function <a href="smt2/_functions.php.html#functionerror_webpage">error_webpage()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Displays a default error page.</dd>
							<dt><b>ext_available</b></dt>
				<dd>in file functions.php, function <a href="smt2/_functions.php.html#functionext_available">ext_available()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Gets all available CMS sections.</dd>
							<dt><b>ext_format</b></dt>
				<dd>in file functions.php, function <a href="smt2/_functions.php.html#functionext_format">ext_format()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Gives format to CMS sections.</dd>
							<dt><b>ext_name</b></dt>
				<dd>in file functions.php, function <a href="smt2/_functions.php.html#functionext_name">ext_name()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Gets the current CMS extension name.</dd>
					</dl>
	</div>
	<a href="elementindex_smt2.html#top">top</a><br>
  <hr />
	<a name="f"></a>
	<div>
		<h2>f</h2>
		<dl>
							<dt><b>filename_to_str</b></dt>
				<dd>in file functions.php, function <a href="smt2/_functions.php.html#functionfilename_to_str">filename_to_str()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Reverse function for str_to_filename. Dashes are converted to spaces.</dd>
							<dt><b>functions.array.php</b></dt>
				<dd>procedural page <a href="smt2/_functions.array.php.html">functions.array.php</a></dd>
							<dt><b>functions.db.php</b></dt>
				<dd>procedural page <a href="smt2/_functions.db.php.html">functions.db.php</a></dd>
							<dt><b>functions.php</b></dt>
				<dd>procedural page <a href="smt2/_functions.php.html">functions.php</a></dd>
							<dt><b>functions.url.php</b></dt>
				<dd>procedural page <a href="smt2/_functions.url.php.html">functions.url.php</a></dd>
					</dl>
	</div>
	<a href="elementindex_smt2.html#top">top</a><br>
  <hr />
	<a name="g"></a>
	<div>
		<h2>g</h2>
		<dl>
							<dt><b>generate_password</b></dt>
				<dd>in file functions.php, function <a href="smt2/_functions.php.html#functiongenerate_password">generate_password()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Random Password Generator.</dd>
							<dt><b>getDistance</b></dt>
				<dd>in file class.point.php, method <a href="smt2/Point.html#methodgetDistance">Point::getDistance()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Computes the Euclidean distance to point $p</dd>
							<dt><b>getString</b></dt>
				<dd>in file class.prettydate.php, method <a href="smt2/prettyDate.html#methodgetString">prettyDate::getString()</a></dd>
							<dt><b>getStringResolved</b></dt>
				<dd>in file class.prettydate.php, method <a href="smt2/prettyDate.html#methodgetStringResolved">prettyDate::getStringResolved()</a></dd>
							<dt><b>get_cache_common_url</b></dt>
				<dd>in file functions.php, function <a href="smt2/_functions.php.html#functionget_cache_common_url">get_cache_common_url()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Gets a SQL-like string with all cache IDs that are related to the same URL.</dd>
							<dt><b>get_exts_order</b></dt>
				<dd>in file functions.php, function <a href="smt2/_functions.php.html#functionget_exts_order">get_exts_order()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Gets installed extensions priorities.</dd>
							<dt><b>get_ip</b></dt>
				<dd>in file functions.php, function <a href="smt2/_functions.php.html#functionget_ip">get_ip()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Gets the client IP.</dd>
							<dt><b>get_smt_releases</b></dt>
				<dd>in file functions.php, function <a href="smt2/_functions.php.html#functionget_smt_releases">get_smt_releases()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Checks if a new smt2 version is released via (smt) website.</dd>
					</dl>
	</div>
	<a href="elementindex_smt2.html#top">top</a><br>
  <hr />
	<a name="i"></a>
	<div>
		<h2>i</h2>
		<dl>
							<dt><b>INC_DIR</b></dt>
				<dd>in file define.php, constant <a href="smt2/_define.php.html#defineINC_DIR">INC_DIR</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Path to common includes (header, footer, and so on).</dd>
							<dt><b>initKatsavounidis</b></dt>
				<dd>in file class.kmeans.php, method <a href="smt2/KMeans.html#methodinitKatsavounidis">KMeans::initKatsavounidis()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Initializes cluster centers, using the technique:  Katsavounidis et al. &quot;A New Initialization Technique for Generalized  Lloyd Iteration&quot;, IEEE Signal Proc. Lett. 1 (10), 144-146, 1994.</dd>
							<dt><b>initRandom</b></dt>
				<dd>in file class.kmeans.php, method <a href="smt2/KMeans.html#methodinitRandom">KMeans::initRandom()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Initializes cluster centers randomly.</dd>
							<dt><b>is_admin</b></dt>
				<dd>in file functions.php, function <a href="smt2/_functions.php.html#functionis_admin">is_admin()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Verifies that current login has admin privileges.</dd>
							<dt><b>is_allowed</b></dt>
				<dd>in file functions.php, function <a href="smt2/_functions.php.html#functionis_allowed">is_allowed()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Gets all allowed CMS extensions for the current user.</dd>
							<dt><b>is_email</b></dt>
				<dd>in file functions.php, function <a href="smt2/_functions.php.html#functionis_email">is_email()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Checks if an email address is valid.</dd>
							<dt><b>is_root</b></dt>
				<dd>in file functions.php, function <a href="smt2/_functions.php.html#functionis_root">is_root()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Verifies that current login is the superadmin user.</dd>
					</dl>
	</div>
	<a href="elementindex_smt2.html#top">top</a><br>
  <hr />
	<a name="j"></a>
	<div>
		<h2>j</h2>
		<dl>
							<dt><b>JSON_PARSER</b></dt>
				<dd>in file define.php, constant <a href="smt2/_define.php.html#defineJSON_PARSER">JSON_PARSER</a><br>&nbsp;&nbsp;&nbsp;&nbsp;JSON parser.</dd>
							<dt><b>JS_PATH</b></dt>
				<dd>in file define.php, constant <a href="smt2/_define.php.html#defineJS_PATH">JS_PATH</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Path to core JavaScript functions.</dd>
							<dt><b>JS_SELECTOR</b></dt>
				<dd>in file define.php, constant <a href="smt2/_define.php.html#defineJS_SELECTOR">JS_SELECTOR</a><br>&nbsp;&nbsp;&nbsp;&nbsp;JavaScript DOM selector library (Sizzle, Peppy, Selector, etc.).</dd>
					</dl>
	</div>
	<a href="elementindex_smt2.html#top">top</a><br>
  <hr />
	<a name="k"></a>
	<div>
		<h2>k</h2>
		<dl>
							<dt><b>$k</b></dt>
				<dd>in file class.kmeans.php, variable <a href="smt2/KMeans.html#var$k">KMeans::$k</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Number of clusters to find.</dd>
							<dt><b>KMeans</b></dt>
				<dd>in file class.kmeans.php, class <a href="smt2/KMeans.html">KMeans</a></dd>
					</dl>
	</div>
	<a href="elementindex_smt2.html#top">top</a><br>
  <hr />
	<a name="m"></a>
	<div>
		<h2>m</h2>
		<dl>
							<dt><b>$maxIterations</b></dt>
				<dd>in file class.kmeans.php, variable <a href="smt2/KMeans.html#var$maxIterations">KMeans::$maxIterations</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Number of maximum iterations until convergence.</dd>
							<dt><b>$maxPoint</b></dt>
				<dd>in file class.cluster.php, variable <a href="smt2/Cluster.html#var$maxPoint">Cluster::$maxPoint</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Maximum point value from sample</dd>
							<dt><b>$medPoint</b></dt>
				<dd>in file class.cluster.php, variable <a href="smt2/Cluster.html#var$medPoint">Cluster::$medPoint</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Cluster median</dd>
							<dt><b>mask_client</b></dt>
				<dd>in file functions.php, function <a href="smt2/_functions.php.html#functionmask_client">mask_client()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Masks a given client ID string, just for pretty reading.</dd>
							<dt><b>matrix_avg</b></dt>
				<dd>in file functions.array.php, function <a href="smt2/_functions.array.php.html#functionmatrix_avg">matrix_avg()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Computes the average sum of a matrix, assuming that each row is a numeric array.</dd>
							<dt><b>matrix_sd</b></dt>
				<dd>in file functions.array.php, function <a href="smt2/_functions.array.php.html#functionmatrix_sd">matrix_sd()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Computes the standard deviation of a matrix, assuming that each row is a numeric array.</dd>
							<dt><b>messages.php</b></dt>
				<dd>procedural page <a href="smt2/_messages.php.html">messages.php</a></dd>
					</dl>
	</div>
	<a href="elementindex_smt2.html#top">top</a><br>
  <hr />
	<a name="n"></a>
	<div>
		<h2>n</h2>
		<dl>
							<dt><b>notify_request</b></dt>
				<dd>in file functions.php, function <a href="smt2/_functions.php.html#functionnotify_request">notify_request()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Redirects the browser to a specified anchor on the index.php page that sent a form from a CMS section.</dd>
					</dl>
	</div>
	<a href="elementindex_smt2.html#top">top</a><br>
  <hr />
	<a name="p"></a>
	<div>
		<h2>p</h2>
		<dl>
							<dt><b>$points</b></dt>
				<dd>in file class.cluster.php, variable <a href="smt2/Cluster.html#var$points">Cluster::$points</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Cluster points</dd>
							<dt><b>$points</b></dt>
				<dd>in file class.kmeans.php, variable <a href="smt2/KMeans.html#var$points">KMeans::$points</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Points to cluster.</dd>
							<dt><b>pad_number</b></dt>
				<dd>in file functions.php, function <a href="smt2/_functions.php.html#functionpad_number">pad_number()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Pad with zeros a number.</dd>
							<dt><b>Point</b></dt>
				<dd>in file class.point.php, class <a href="smt2/Point.html">Point</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Defines a Point (2D vector)</dd>
							<dt><b>prettyDate</b></dt>
				<dd>in file class.prettydate.php, class <a href="smt2/prettyDate.html">prettyDate</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Converts a timestamp to pretty human-readable format.</dd>
					</dl>
	</div>
	<a href="elementindex_smt2.html#top">top</a><br>
  <hr />
	<a name="r"></a>
	<div>
		<h2>r</h2>
		<dl>
							<dt><b>REQUIRED</b></dt>
				<dd>in file functions.php, constant <a href="smt2/_functions.php.html#defineREQUIRED">REQUIRED</a><br>&nbsp;&nbsp;&nbsp;&nbsp;smt2 CMS core functions.</dd>
					</dl>
	</div>
	<a href="elementindex_smt2.html#top">top</a><br>
  <hr />
	<a name="s"></a>
	<div>
		<h2>s</h2>
		<dl>
							<dt><b>scriptExists</b></dt>
				<dd>in file class.domutil.php, method <a href="smt2/DOMUtil.html#methodscriptExists">DOMUtil::scriptExists()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Checks if a javascript file exists in the DOM,  by comparing the provided $source with the script's &quot;src&quot; attribute.</dd>
							<dt><b>setMaxPoint</b></dt>
				<dd>in file class.cluster.php, method <a href="smt2/Cluster.html#methodsetMaxPoint">Cluster::setMaxPoint()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Sets the maximum point value from vectors sample</dd>
							<dt><b>SMT_AUX</b></dt>
				<dd>in file define.php, constant <a href="smt2/_define.php.html#defineSMT_AUX">SMT_AUX</a><br>&nbsp;&nbsp;&nbsp;&nbsp;smt2 auxiliar functions.</dd>
							<dt><b>SMT_RECORD</b></dt>
				<dd>in file define.php, constant <a href="smt2/_define.php.html#defineSMT_RECORD">SMT_RECORD</a><br>&nbsp;&nbsp;&nbsp;&nbsp;smt2 record script.</dd>
							<dt><b>SMT_REPLAY</b></dt>
				<dd>in file define.php, constant <a href="smt2/_define.php.html#defineSMT_REPLAY">SMT_REPLAY</a><br>&nbsp;&nbsp;&nbsp;&nbsp;smt2 replay script.</dd>
							<dt><b>SMT_VERSION</b></dt>
				<dd>in file define.php, constant <a href="smt2/_define.php.html#defineSMT_VERSION">SMT_VERSION</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Installed (smt) version.</dd>
							<dt><b>str_to_filename</b></dt>
				<dd>in file functions.php, function <a href="smt2/_functions.php.html#functionstr_to_filename">str_to_filename()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Assigns a valid filename to a given string: only alphanumeric chars. Spaces are converted to dashes.</dd>
							<dt><b>SWFOBJECT</b></dt>
				<dd>in file define.php, constant <a href="smt2/_define.php.html#defineSWFOBJECT">SWFOBJECT</a><br>&nbsp;&nbsp;&nbsp;&nbsp;SWFObject library.</dd>
							<dt><b>SWF_PATH</b></dt>
				<dd>in file define.php, constant <a href="smt2/_define.php.html#defineSWF_PATH">SWF_PATH</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Path to core ActionScript functions.</dd>
							<dt><b>SYS_DIR</b></dt>
				<dd>in file define.php, constant <a href="smt2/_define.php.html#defineSYS_DIR">SYS_DIR</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Path to system dir.</dd>
					</dl>
	</div>
	<a href="elementindex_smt2.html#top">top</a><br>
  <hr />
	<a name="t"></a>
	<div>
		<h2>t</h2>
		<dl>
							<dt><b>TBL_BROWSERS</b></dt>
				<dd>in file define.php, constant <a href="smt2/_define.php.html#defineTBL_BROWSERS">TBL_BROWSERS</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Table for storing browser names.</dd>
							<dt><b>TBL_CACHE</b></dt>
				<dd>in file define.php, constant <a href="smt2/_define.php.html#defineTBL_CACHE">TBL_CACHE</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Table for caching HTML logs.</dd>
							<dt><b>TBL_CMS</b></dt>
				<dd>in file define.php, constant <a href="smt2/_define.php.html#defineTBL_CMS">TBL_CMS</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Table for customizing CMS options.</dd>
							<dt><b>TBL_EXTS</b></dt>
				<dd>in file define.php, constant <a href="smt2/_define.php.html#defineTBL_EXTS">TBL_EXTS</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Table for registering extension modules.</dd>
							<dt><b>TBL_JSOPT</b></dt>
				<dd>in file define.php, constant <a href="smt2/_define.php.html#defineTBL_JSOPT">TBL_JSOPT</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Table for customizing JS replay options.</dd>
							<dt><b>TBL_OS</b></dt>
				<dd>in file define.php, constant <a href="smt2/_define.php.html#defineTBL_OS">TBL_OS</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Table for storing operating system names.</dd>
							<dt><b>TBL_RECORDS</b></dt>
				<dd>in file define.php, constant <a href="smt2/_define.php.html#defineTBL_RECORDS">TBL_RECORDS</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Table for storing smt2 records.</dd>
							<dt><b>TBL_ROLES</b></dt>
				<dd>in file define.php, constant <a href="smt2/_define.php.html#defineTBL_ROLES">TBL_ROLES</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Table for managing user roles.</dd>
							<dt><b>TBL_USERS</b></dt>
				<dd>in file define.php, constant <a href="smt2/_define.php.html#defineTBL_USERS">TBL_USERS</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Table for registered users.</dd>
							<dt><b>trim_text</b></dt>
				<dd>in file functions.php, function <a href="smt2/_functions.php.html#functiontrim_text">trim_text()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Shows only the first $words of a text, plus a [...] symbol.</dd>
					</dl>
	</div>
	<a href="elementindex_smt2.html#top">top</a><br>
  <hr />
	<a name="u"></a>
	<div>
		<h2>u</h2>
		<dl>
							<dt><b>unregister_GLOBALS</b></dt>
				<dd>in file functions.php, function <a href="smt2/_functions.php.html#functionunregister_GLOBALS">unregister_GLOBALS()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Emulates register_globals off.</dd>
							<dt><b>url_get_base</b></dt>
				<dd>in file functions.url.php, function <a href="smt2/_functions.url.php.html#functionurl_get_base">url_get_base()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Gets the base path of a URL.</dd>
							<dt><b>url_get_current</b></dt>
				<dd>in file functions.url.php, function <a href="smt2/_functions.url.php.html#functionurl_get_current">url_get_current()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Gets the full path to the current PHP file (protocol + domain + paths/to/file).</dd>
							<dt><b>url_get_server</b></dt>
				<dd>in file functions.url.php, function <a href="smt2/_functions.url.php.html#functionurl_get_server">url_get_server()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Gets the URL of current server (protocol + domain).</dd>
							<dt><b>url_redirect</b></dt>
				<dd>in file functions.url.php, function <a href="smt2/_functions.url.php.html#functionurl_redirect">url_redirect()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Makes an HTTP 1.1 compliant redirect.</dd>
					</dl>
	</div>
	<a href="elementindex_smt2.html#top">top</a><br>
  <hr />
	<a name="v"></a>
	<div>
		<h2>v</h2>
		<dl>
							<dt><b>$variance</b></dt>
				<dd>in file class.cluster.php, variable <a href="smt2/Cluster.html#var$variance">Cluster::$variance</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Cluster variance</dd>
							<dt><b>vectorNorm</b></dt>
				<dd>in file class.kmeans.php, method <a href="smt2/KMeans.html#methodvectorNorm">KMeans::vectorNorm()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Vector Norm calculation</dd>
					</dl>
	</div>
	<a href="elementindex_smt2.html#top">top</a><br>
  <hr />
	<a name="w"></a>
	<div>
		<h2>w</h2>
		<dl>
							<dt><b>WZ_JSGRAPHICS</b></dt>
				<dd>in file define.php, constant <a href="smt2/_define.php.html#defineWZ_JSGRAPHICS">WZ_JSGRAPHICS</a><br>&nbsp;&nbsp;&nbsp;&nbsp;WZ JavaScript graphics libary.</dd>
					</dl>
	</div>
	<a href="elementindex_smt2.html#top">top</a><br>
  <hr />
	<a name="x"></a>
	<div>
		<h2>x</h2>
		<dl>
							<dt><b>$x</b></dt>
				<dd>in file class.point.php, variable <a href="smt2/Point.html#var$x">Point::$x</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Horizontal coordinate</dd>
					</dl>
	</div>
	<a href="elementindex_smt2.html#top">top</a><br>
  <hr />
	<a name="y"></a>
	<div>
		<h2>y</h2>
		<dl>
							<dt><b>$y</b></dt>
				<dd>in file class.point.php, variable <a href="smt2/Point.html#var$y">Point::$y</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Vertical coordinate</dd>
					</dl>
	</div>
	<a href="elementindex_smt2.html#top">top</a><br>
        <div class="credit">
		    <hr />
		    Documentation generated on Thu, 30 Sep 2010 18:26:38 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
	      </div>
      </td></tr></table>
    </td>
  </tr>
</table>

</body>
</html>